package com.techysky.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 维修计划实体
 * @author nichao
 *
 */
@Entity
@Table(name="sys_maint_plan")
@Data@EqualsAndHashCode(callSuper=false)
public class MaintPlan extends BaseEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	@Column(name="create_date")
	private String createDate;
	@Column(name="task_code")
	private String taskCode;//编码
	@Column(name="task_desc")
	private String taskDesc;//任务
	@Column(name="refs_name")
	private String refsName;
	@Column(name="href_path")
	private String hrefPath;
	@Column(name="devi_name")
	private String deviName;
	@Column(name="area_name")
	private String areaName;	//既指区域，也指维护部位名称
	@Column(name="area_number")
	private String areaNumber;	//维护部位号
	@Column(name="plan_type")
	private String maintPlanningType; //项目类型(包括3种类型：预防性维修、日常维护、检查
	@Column(name="caps_name")
	private String capsName;
	@Column(name="limit_cond")
	private String limitCond;
	@Column(name="level_code")
	private String levelCode;
	@Column(name="applic_ref")
	private String applicRef;
	@Column(name="remarks")
	private String remarks;
	@Column(name="dmodel_id")
	private String dmodelId;
	@Column(name="project_id")
	private String projectId;
	@Transient
	private Integer page;
	@Transient
	private Integer size;
	public MaintPlan() {
		super();
	}	
	public MaintPlan(String limitCond) {
		super();
		this.limitCond = limitCond;
	}	
	
}